/* 初始设置 */
html,
body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

ul,
h4,
p,
span {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header {
    height: 80px;
    width: 100%;
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 8px;
    text-align: center;
    line-height: 80px;
    background: brown;
}

/* calc要数字空格-空格数字才会生效(格式问题) */
.contain {
    display: flex;
    height: calc(100% - 80px);
    justify-content: space-between;
    align-items: center;
    background: navy;
}

.slider {
    width: 120px;
    height: 100%;
    position: relative;
}

.slider::after {
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: 100%;
    content: '';
    background: yellowgreen;
}

.block {
    flex: 1;
    border: 4px solid yellow;
    height: calc(100% - 20px);
    margin: 10px;
    box-sizing: border-box;
    border-radius: 20px;

}

/* line-height:100%;长度只有1点点,要用具体px (原因未明)*/
.slider li {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    border: 2px solid white;
    margin: 10px auto;
    text-align: center;
    line-height: 100px;
    font-size: 16px;
    color: white;
}

.rwlist {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rwitem {
    margin: 10px;
    box-sizing: border-box;
    flex: 1;
    height: calc(100% - 24px);
    padding: 10px;
    border: 2px solid yellow;
    border-radius: 6px;
}

.blockitem {
    width: 100%;
    height: 100%;
    /* 排列方向：垂直,默认居中 */
    flex-direction: column;
    /* 水平居中写法 */
    display: flex;
    justify-content: center;
    align-items: center;
}
h4{
    font-size: 36px;
    font-weight: bold;
    height: 60px;
    line-height: 60px;
    letter-spacing: 8px;
    color: white;
}